/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bean.chart.iterfaces;

import java.awt.Color;
import java.awt.Dimension;

/**
 *
 * @author sammael
 */
public interface AbstractChartLegend {
        public void setLegendLabel(String label);
        public String getLegendLabel();
        
        public void setLegendBackground(Color color);
        public Color getLegendBackground();
        public void setLegendForeground(Color color);
        public Color getLegendForeground();
        
        public void setLegendLabelVisible(boolean visible);
        public boolean isLegendLabelVisible();
        public void setColorSampleVisible(boolean visible);
        public boolean isColorSampleVisible();
        
        public void setRowCount(int count);
        public int getRowCount(); 
        public void setColumnCount(int count);
        public int getColumnCount();
        
        public void setColorSampleSize(Dimension d);
        public Dimension getColorSampleSize();
        
        public void setDataProvider(LegendDataProvider provider);
        public LegendDataProvider getDataProvider();
}
